home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1175_creating_hierarchical_views.rtf < prev    next >
Text File  |  1995-06-12  |  1KB  |  28 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Ohlfs;}
  2. \paperw12740
  3. \paperh10280
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:  How do I create hierarchical views in InterfaceBuilder?\
  8. \
  9. A:  The only ways that InterfaceBuilder provides are:\
  10. \
  11.  
  12. \fi-980\li980 1)    You can use the Group command while a number of views are selected.  This creates a Box object that encloses these views, becoming their superview.  If you don't want a title or a border use the Inspect command, set the No Title and No Border options, and then set the horizontal and vertical offsets to 0. \
  13. \
  14. 2)    Starting with Release 2, there is a 
  15. \fc1\cf1 Group in ScrollView command. By choosing this command, you can put any selected View in your application's window into a ScrollView.  See the 2.0 or 3.0  InterfaceBuilder release notes.\
  16.  
  17. \fi0\li0 \
  18.  
  19. Note: For NeXTSTEP Release 3, you should use the Inspector command from the Tools menu to open the Inspector panel, then follow the steps described in (1) to set the grouping attributes.\
  20. \
  21. QA153\
  22. \
  23.  
  24. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0\cf0 Valid for 1.0, 2.0, 3.0, 3.1\
  25.  
  26. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0\cf0 \
  27.  
  28.